let app = getApp()
Component({
    properties: {
      type:String,
      list: {
        type: Array
      },
      size:String
      },
      data:{
   
      },
    lifetimes: {
        attached: function () {
         }
      },
    methods: {
        lookorder:function(e){
            var num=e.currentTarget.dataset.key+1;
            wx.navigateTo({
              url: '/yb_shopv2/native/all/index?type=mine_order&tab='+num
            })
        }
    }
});
